using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ResaGest.DAO;
using ResaGest.Metier.Service;
using ResaGest.Metier.Entite.Chambre;
using ResaGest.Metier.Entite.Hotel;
using ResaGest.Metier.Entite.Client;
using ResaGest.Metier.Critere;

namespace ResaGest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        public void test()
        {
            ChambreCritere critere = new ChambreCritere();
            /*critere.Balcon_chambre = false;
            critere.Prix_max = 45;
            critere.Type_chambre_id = 2;*/
			HotelCritere htCrit = new HotelCritere();
			ClientCritere clCrit = new ClientCritere();

            List<Chambre> chList = ChambreService.RechercherChambreByCritere(critere);
			List<Hotel> htlist = HotelService.RechercherHotelByCritere(htCrit);
			List<Client> clList = ClientService.RechercherClientByCritere(clCrit);

        }

        private void button1_Click(object sender, EventArgs e)
        {
            test();
        }



    }
}